/**
 *
 * @author Anastasiya
 *
 */


#pragma once
#include <ostream>
#include <string>

using namespace std;

class Printer{

public: Printer(ostream* errorOutput, ostream* standardOutput);
		~Printer();
		void testStarted(string  filename);
		void testEnded(string  filename);
		void testFailed(string  filename);
		void logError(string  message, string  filename);
		void logEvent(string  messageEvent, string  filename);
		void logEvent(string  messageEvent);

		static bool terse;

private:
	ostream* errorOutput;
	ostream* standardOutput;

	static const string MESSAGE_TEST_STARTED;
	static const string MESSAGE_TEST_ENDED;
	static const string MESSAGE_TEST_FAILED;

	static const string MESSAGE_STATUS_OK;
	static const string MESSAGE_STATUS_FAILED;

	static const string MESSAGE_ERROR;
	static const string MESSAGE_FAILED;
	static const string MESSAGE_AT_FILE;

};